package com.huadao.cart_ccs.experiment.confirmBeforeCulture.rawMaterial;

import com.huadao.cart_ccs.base.BaseHttpPresenter;
import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;
import com.huadao.cart_ccs.data.bean.Dispensing;
import com.huadao.cart_ccs.data.bo.RawMaterialBO;

import java.util.Date;
import java.util.List;

public interface IRawMaterialContract {
    interface IRawMaterialView extends BaseView{
        void onRawMaterialList(List<Dispensing> materialBOList);
        void onSearchRawMaterialList(List<Dispensing> materialBOList);

        String getProjectId();
        Date getProjectStartTime();
        String getSearchWord();
        int getSelectedDay();
    }

    abstract class IRawMaterialPresenter extends BaseHttpPresenter<IRawMaterialView> {
        public abstract void getRawMaterialList();
        public abstract void search();
        public abstract void getMaterialListByDay(int day);
        abstract void checkDataSchedual();
        public abstract void refresh();
    }
 }
